<?php

    // config
    $config = json_decode(implode(file("inc/config.json")),true);

    foreach($config as $key=>$c){
        define(strtoupper($key),$c);
    }
    
    define('PAGE_BASE', 'http://'.$_SERVER['HTTP_HOST'].''.str_replace('index.php','',$_SERVER['PHP_SELF']));
    
    $suffix     = array('.mp3');
    $excludes   = array('Thumbs.db');

?>